﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： reAsk.cs
// 项目名称：买车网
// 创建时间：2014/7/20
// 负责人：Wup
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using Weixin.DAL.ChinaTax;
using Weixin.Entity.ChinaTax;

namespace Weixin.BLL.ChinaTax
{
    public partial class reAskBLL : BaseBLL< reAskBLL>

    {
        reAskDataAccessLayer reAskdal;
        public reAskBLL()
        {
            reAskdal = new reAskDataAccessLayer();
        }

        public int Insert(reAskEntity reAskEntity)
        {
            return reAskdal.Insert(reAskEntity);            
        }

        public void Update(reAskEntity reAskEntity)
        {
            reAskdal.Update(reAskEntity);
        }

        public reAskEntity GetAdminSingle(int iD)
        {
           return reAskdal.Get_reAskEntity(iD);
        }

        public IList<reAskEntity> GetreAskList()
        {
            IList<reAskEntity> reAskList = new List<reAskEntity>();
            reAskList=reAskdal.Get_reAskAll();
            return reAskList;
        }

        public IList<reAskEntity> GetReAskListByAskId(int askId)
        {
            IList<reAskEntity> reAskList = new List<reAskEntity>();
            reAskList = reAskdal.GetReAskListByAskId(askId);
            return reAskList;
        }
    }
}
